package com.bwie.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bwie.domain.TbBrand;
import com.bwie.domain.TbProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.vo.PageInfoVo;
import com.bwie.vo.ProductVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author andy
* @description 针对表【tb_product(商品表)】的数据库操作Mapper
* @createDate 2024-09-25 15:35:07
* @Entity com.bwie.domain.TbProduct
*/
@Mapper
public interface TbProductMapper extends BaseMapper<TbProduct> {
    List<TbBrand> getBrandList();
    IPage<ProductVo> getProductList(Page<ProductVo> page, PageInfoVo pageInfoVo);
}




